<!DOCTYPE html>
<html lang="en-us">
<head>
	<meta charset="utf-8">
	<title> autog7  </title>
	
	<link rel="stylesheet" type="text/css" media="screen" href="css/common.css">
	<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.min-3.2.0.css">
	<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.modify.css">
	<link rel="stylesheet" type="text/css" media="screen" href="css/expand.css">
	<link rel="stylesheet" type="text/css" media="screen" href="css/font-awesome.min.css">
		<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-production.css">		
		<link rel="stylesheet" href="css/bootstrap-select.css">
	<link rel="stylesheet" type="text/css" media="screen" href="css/smartadmin-skins.css">
		<link rel="stylesheet" type="text/css" media="screen" href="css/demo-increase.css">	  
		<link rel="stylesheet" type="text/css" href="css/dataTables.bootstrap.css" /> 
    <link rel="stylesheet" type="text/css" href="css/manhuaTip.1.0.css">   	
  <style type="text/css">
/* 	   	body {
	      padding-top: 70px;
	    } */
	    .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
		    width: 180px !important;
		}
	    .bootstrap-select > .btn{
	    	height: 30px;
	    }
	    #dt_basic > tbody > tr:not([class*="tr-expandable"]) > td {
	    	text-align: center;
	    }
	    .param_table > tbody > tr > td > input{
	    	
	    }
	    /* ul.dropdown-menu > .selected::before {
    	display: none
    	}
    	ul.dropdown-menu > .selected::after {
    	display: none
    	} */
    	#tbody > tr.odd > td:nth-child(3) {
    		word-break: break-all;
    	}
    	a.assert-details, input.assert-details{
		    max-width: 220px;
		    overflow: hidden;
		    text-overflow: ellipsis;
		    white-space: nowrap;
		}
		#showinfo1{
			  display:none;
			  left:1px;
			  top:1px;
			  padding:5px;
			  position:fixed; 
			  z-index:999999; 
			  max-width:600px;
			  word-break:break-all;
			  border: 1px solid #5e4e3f;
			  background: white;
 		}
 		div.dataTables_filter {
		    position: static !important;
		}
   	</style>

</head>
<body id="autog7" class="desktop-detected" style="min-height: 701px; height: auto;">

<section id="widget-grid" class="">
	<!-- row -->
	<div class="row" id="allTaskBox">
		<!-- NEW WIDGET START -->
			<article class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
				<!-- Widget ID (each widget will need unique ID)-->
				<div class="jarviswidget jarviswidget-color-blueLight" id="wid-id-0" data-widget-sortable="true" data-widget-colorbutton="false" data-widget-editbutton="false" data-widget-togglebutton="false" data-widget-deletebutton="false" style="min-height:500px">
					<!-- widget div-->
					<header role="heading" style="line-height: 18px;"><div role="menu" class="jarviswidget-ctrls">    <a data-original-title="全屏" href="javascript:void(0);" class="button-icon jarviswidget-fullscreen-btn" rel="tooltip" title="" data-placement="left"><i class="fa fa-resize-full "></i></a> </div>
					<span class="widget-icon"> <i class="fa fa-table"></i> </span>
					<h2 langlanguage="vehicleBasicInfo">接口自动化</h2>
					<span class="jarviswidget-loader"><i class="fa fa-refresh fa-spin"></i></span>
					<div class="col col-sm-6 col-xs-6 btn-group">
							<a class="btn btn-default widget-section-link" href="javascript:void(0);" onclick="$('#timerList_Modal').modal();">定时任务列表</a>
							<a class="btn btn-default widget-section-link" onclick="window.open('autog7report.html');">测试报告</a>
					</div>
					</header>
					<div role="content">
						<!-- widget edit box -->
						<div class="jarviswidget-editbox">
							<!-- This area used as dropdown edit box -->
						</div>
						<!-- end widget edit box -->
						<!-- widget content -->
						<div class="widget-body no-padding">
							<!-- 自定义搜索区 -->
							<div class="widget-body-toolbar" >
								<div role="form" class="smart-form">
									<div class="pull-left global-search-box2">									
										<section class="pull-left no-padding col pull-width160 onlyusefor">
											<label>运行环境</label>
											<label class="select">
												<select class="input-sm" name="index_usefor" id="index_usefor" onchange="LoadModuleByEnv(this);"><option value=1>-DSP_测试环境-</option><option value=2>-DSP_demo环境-</option><option value=3 selected="selected">-DSP_线上环境-</option></select> <i></i>
											</label>
										</section>
						
										<section class="pull-left no-padding col pull-width180">
											<label>业务模块</label>
									        <div class="select form-group">
									          <select class="selectpicker" id="module_usefor" name="module_usefor" multiple data-live-search="true" data-live-search-placeholder="Search" data-actions-box="true">
									              <option value=1>smart</option>
									              <option value=7>coldchain</option>
									              <option value=4>gpsevent</option>
									              <option value=10>currents</option>
									              <option value=13>gnns</option>
									              <option value=16>ems</option>
									              <option value=19>trace</option>
									              <option value=22>mileage</option>
									          </select>
									        </div>
										</section>
										<section class="pull-left no-padding col pull-width180">
											<label>接口</label>
									        <div class="select form-group">
									          <select name="inf_usefor" id="inf_usefor" class="selectpicker" multiple data-live-search="true" data-live-search-placeholder="Search" data-actions-box="true">
									          </select>
									        </div>
										</section>
										<section class="pull-left no-padding col pull-width180">
											<label>重要程度</label>
											<div class="select form-group">
											  <select name="importants_search" id="importants_search" class="selectpicker" multiple data-actions-box="true" data-done-button="true">
											    <option value=1>v1(高)</option>
											    <option value=2>v2(中)</option>
											    <option value=3>v3(低)</option>
											  </select>
											</div>
										</section>
										<section class="pull-left no-padding col pull-width180">
											<label>负责人</label>
											<div class="select form-group">
											  <select  name="owner_search" id="owner_search" class="selectpicker" multiple data-live-search="true" data-live-search-placeholder="Search" data-actions-box="true">
											    <option>duanxiangyun</option>
											    <option>huangyu</option>
											    <option>xiongruili</option>
											  </select>
											</div>
										</section>
										<section class="pull-left no-padding col pull-width180">
											<label>level</label>
											<div class="select form-group">
											  <select  name="level_search" id="level_search" class="selectpicker" data-actions-box="true" multiple data-done-button="true">
											    <option>1</option>
											    <option>2</option>
											  </select>
											</div>
										</section>
										<!-- <div class="global-search-btn">
											<a class="btn btn-primary  btn-sm" type="button" id="s_btn1" langlanguage="query" onclick="searchSubmit();">查询</a>
										</div>	 -->
										<section class="pull-left no-padding col ">
											<label></label>
											<label class="select">
											<a id="s_btn1" class="btn btn-primary btn-sm" type="button" langlanguage="query" onclick="searchSubmit();">查询</a>
											</label>
										</section>
										<!-- <section class="pull-left no-padding col pull-width200" >
											<label id="importCase">请选择导入文件(<a href="profiles/mqexample.xlsx">模板</a>)</label>
											<form id="importExceldata" name="importExceldata" method="POST"
												enctype="multipart/form-data" action="/smarttest-frontstage/autog7/importCase.action">
												<div class="pull-left global-search-box">
													<input type="file" id="importCaseFile"  accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel" name="files" value=""
														size="20" multiple="multiple"/>									
												</div>	
												<button class="btn btn-primary btn-sm" type="submit">提交</button>
												<input id="upload" class="btn btn-primary btn-sm" type="button" value="上传">								
											</form>		
										</section>	 -->			
								</div>
							</div>
							<div class="row no-margin margin-top-10 margin-bottom-10"> </div>
							<div id="scroll_div" class="table table-hover table-expandable" style="">
								<table id="dt_basic" class="table table-striped table-bordered table-hover has-tickbox dataTable" style="border: 1px solid #ddd !important;table-layout:fixed;width:100%;word-break:break-all; word-wrap:break-all;">
									<thead>
									<tr>
									<th aria-label="" style="width: 2%;text-align: center; white-space: nowrap;" colspan="1" rowspan="1" tabindex="0" class="sorting_disabled center"><label class="no-margin"><input name="checkbox style-0 " class="checkbox style-0 checkAll" id="checkAllSums" type="checkbox"><span style="margin-right: 0px;"></span></label></th>							
									<th aria-label="操作" style="width: 3%;text-align: center; white-space: nowrap;" colspan="1" rowspan="1" tabindex="0" class="sorting_disabled center">操作</th>
									<th style="width: 25%;text-align: center;">接口名</th>
									<th style="width: 5%;text-align: center;">重要程度</th>
									<th style="width: 10%;text-align: center;">业务模块</th>
									<th style="width: 10%;text-align: center;">负责人</th>
									<th style="width: 10%;text-align: center;">测试环境</th>
									<th style="width: 5%;text-align: center;">请求方式</th>
									<th style="width: 14%;text-align: center;">上次执行时间</th>
									<th style="width: 8%;text-align: center;">上次执行结果</th>
									<th style="width: 5%;text-align: center;">结果(展开)</th>
									<th style="width: 3%;text-align: center;">运行</th>
									</tr>
									</thead>
									<tbody id="tbody" level=""> 
									<!-- <tr sumid="7" class="test_summary"><td><input type="checkbox" class="checksum"></td>
									<td>
										<div class="btn-group">
										<button class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
											<i class="fa fa-pencil"></i>
											<i class="fa fa-caret-down"></i>
										</button>
										<ul class="dropdown-menu">
											<li>
												<a onclick=""  href="javascript:void(0);">编辑</a>
											</li>
											<li class="divider"></li>
											<li>
												<a onclick=""  href="javascript:void(0);">删除</a>
											</li>
										</ul>
										</div>
									</td>
									<td>huoyunren.currents.simpleByGpsnos</td>
									<td>1</td>
									<td>smart</td>
									<td>duanxiangyun</td>
									<td>DSP_线上环境</td>
									<td>POST</td>
									<td></td>
									<td><font color="red"></font></td>
									<td><div></div><a class="table-expandable-arrow btn btn-sm" style="margin:0 auto;margin-top: 5px;" onclick="launchInterDetails(this);"></a></td>
									<td><a class="btn btn-primary btn-sm" langlanguage="query" type="button" onclick="runCurrentSumTest(this);">运行</a></td>
									</tr>		 	 -->						
									</tbody>
								</table>
								
							</div>
<!-- 							<div class="dt-row dt-bottom-row"><div class="row"><div class="col-sm-1"><div class="dataTables_length" id="dt_basic_length"><span class="smart-form"><label class="select" style="width: 60px;"><select aria-controls="dt_basic" size="1" name="dt_basic_length"><option selected="selected" value="10">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select><i></i></label></span></div></div><div class="col-sm-5"><div id="dt_basic_info" class="dataTables_info">从 1 到 10 /共 23 条数据</div></div><div class="col-sm-6 text-right"><div class="dataTables_paginate paging_bootstrap_full"><ul class="pagination"><li class="first disabled"><a href="#">首页</a></li><li class="prev disabled"><a href="#">前一页</a></li><li class="active"><a href="#">1</a></li><li><a href="#">2</a></li><li><a href="#">3</a></li><li class="next"><a href="#">后一页</a></li><li class="last"><a href="#">尾页</a></li></ul></div></div></div></div>							
 -->							
 							</div>
						
						</div>
						
						<!-- end widget content -->
					</div>
					<!-- end widget div -->
				</div>
				<!-- end widget -->
			</article>
		<!-- WIDGET END -->

	</div>

	<!-- end row -->

	<!-- end row -->
	<div class="modal fade" id="timerList_Modal" tabindex="-1" role="dialog" aria-labelledby="timerListModalLabel" aria-hidden="true">
	    <div class="modal-dialog">
	        <div class="modal-content">
	            <div class="modal-header">
	                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
	                    ×
	                </button>
	                <h4 class="modal-title" id="timerListModalLabel" langlanguage="internalSharing">定时任务列表</h4>
	            </div>
	            
	            <div class="modal-body">
						<iframe class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"
							id="timerlist_frame" src="tasklist.html"
							style="padding-left: 0px; padding-right: 0px; height: 460px;width: 100%;margin-left: 0%;" scrolling="no"
							frameborder="0"
							onload="this.height=this.contentWindow.document.documentElement.scrollHeight">
						</iframe>
						<div style="clear:both;"></div>	
				</div>
					    
                <div class="modal-footer">
                	<input id="shareType" type="hidden">
                    <button type="submit" class="btn btn-sm btn-primary" data-dismiss="modal" langlanguage="cancel">取消</button>
                </div>
	        </div>
	    </div>
	</div>
	<div class="modal fade" id="timertaskModal" tabindex="-1" role="dialog" aria-labelledby="timertaskLabel" aria-hidden="true">
	    <div class="modal-dialog">
	        <div class="modal-content">
	            <div class="modal-header">
	                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
	                    ×
	                </button>
	                <h4 class="modal-title" id="timertaskLabel" langlanguage="internalSharing">新增定时任务</h4>
	            </div>
            	<div class="modal-body" id="timertaskdetail">
						<div role="form" class="smart-form">
							<div class="pull-left global-search-box2">	
								<section class="pull-left no-padding col pull-width160">
									<label>描述</label>
									<label class="input form-group has-feedback has-error">
										<input id="taskdetail" class="form-control" type="text" name="taskdetail">
									</label>
								</section>
								<section class="pull-left no-padding col pull-width100">
									<label>运行类型</label>
									<label class="select">
										<select class="input-sm"  id="runtype"><option value="1" selected="selected">每天</option><option value="0">一次</option></select> <i></i>
									</label>
								</section>
								<section class="pull-left no-padding col pull-width160">
									<label>运行时间</label>
									<label class="input form-group has-feedback has-error">
										<input id="tasktime" class="form-control" type="text" name="tasktime">(HH:mm:ss)
									</label>
								</section>	
								<section class="pull-left no-padding col pull-width100">
									<label>运行方式</label>
									<label class="select">
										<select class="input-sm"  id="timer_releasetype" onchange="handleRelease2();"><option value="0" selected="selected">迭代回归</option><option value="1">普通运行</option></select> <i></i>
									</label>
								</section>	
								<section class="pull-left no-padding col pull-width300" id="timer_releasename_section">
									<label>请输入迭代版本</label>
									<label class="input form-group has-feedback has-error">
										<input id="timer_releasename" class="form-control" type="text" name="timer_releasename" style="height: 35px !important;">
									</label>
								</section>	
							</div>
						</div>
						<div style="clear:both;"></div>						           		
				</div>
			    
                <div class="modal-footer">
					<button id="submittimertask" type="submit" class="btn btn-primary btn-sm">确定</button>
                    <button type="submit" class="btn btn-sm btn-primary" data-dismiss="modal" langlanguage="cancel">取消</button>
                </div>	            
	        </div>
	    </div>
	</div>
	<div class="modal fade" id="releaseModal" tabindex="-1" role="dialog" aria-labelledby="releaseLabel" aria-hidden="true">
	    <div class="modal-dialog">
	        <div class="modal-content">
	            <div class="modal-header">
	                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
	                    ×
	                </button>
	                <h4 class="modal-title" id="releaseLabel" >迭代版本</h4>
	            </div>
            	<div class="modal-body" id="releasedetail">
						<div role="form" class="smart-form">
							<div class="pull-left global-search-box2">
								<section class="pull-left no-padding col pull-width100">
									<label>运行方式</label>
									<label class="select">
										<select class="input-sm"  id="releasetype" onchange="handleRelease();"><option value="0" selected="selected">迭代回归</option><option value="1">普通运行</option></select> <i></i>
									</label>
								</section>	
								<section class="pull-left no-padding col pull-width300" id="releasename_section">
									<label>请输入迭代版本</label>
									<label class="input form-group has-feedback has-error">
										<input id="releasename" class="form-control" type="text" name="releasename" style="height: 35px !important;">
									</label>
								</section>	
							</div>
						</div>
						<div style="clear:both;"></div>	
				</div>
			    
                <div class="modal-footer">
					<button id="submitrelease" type="submit" class="btn btn-primary btn-sm">确定</button>
                    <button type="submit" class="btn btn-sm btn-primary" data-dismiss="modal" >取消</button>
                </div>	            
	        </div>
	    </div>
	</div>
</section>
<div id="showinfo1">
</div >
<!-- end widget grid -->
<!--================================================== -->

	<!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)
	<script data-pace-options='{ "restartOnRequestAfter": true }' src="js/plugin/pace/pace.min.js"></script>-->

	<!-- Link to Google CDN's jQuery + jQueryUI; fall back to local -->
	<script src="js/libs/jquery-2.0.2.min.js"></script>
	<script>
		if (!window.jQuery) {
			document.write('<script src="js/libs/jquery-2.0.2.min.js"><\/script>');
		}
	</script>

	<script src="js/libs/jquery-ui-1.10.3.min.js"></script>
	<script>
		if (!window.jQuery.ui) {
			document.write('<script src="js/libs/jquery-ui-1.10.3.min.js"><\/script>');
		}
	</script>
	<!-- BOOTSTRAP JS -->
	<script src="js/bootstrap/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/bootstrapValidator.min.js"></script>
	<script>
	$(function(){
		handleRelease();
		handleRelease2();
		$("#module_usefor").on("hidden.bs.select", function (e) {
			var selected = $("#module_usefor").val();
			var json  = JSON.stringify(selected);
			$.ajax({
				url : "/smarttest-frontstage/AutoInterface/getInfByModule.action",
				data : { idStr : JSON.stringify(selected) },
				method : 'POST',
				success : function(data) {
					if (data.status == 200 && data.data) {
						var html = "";
						for(var i=0;i<data.data.length;i++){
							 var value = data.data[i];
							 html += "<option value="+value.id+">"
								+ value.name
								+ "</option>"
						}
						$("#inf_usefor").empty();
						$("#inf_usefor").html(html);
						$('#inf_usefor').selectpicker('refresh');
					    $('#inf_usefor').selectpicker('render');
				     }
				}
			 });
		});
		$("#submitrelease").click(function () {
			var releasetype = $("#releasetype").find("option:selected").val();
			if (releasetype == 1) {
				$('#releaseModal').modal('hide');
				runSumTests(-1);
			}
			else if (releasetype == 0) {
				var form = $("#releasedetail").data('bootstrapValidator');
				form.validate();
				if (form.isValid() == false) {
					return;
				}
				else {
					var selects = $("#dt_basic").find('tr[role="row"]').find('td:first input:checked');
					var map = new Map();
					for (var i = 0; i < selects.length; i++) {
						var tr = selects.eq(i).parent().parent();
						map.set(tr,selects.eq(i).attr('sumid'));
					}
					var testids = '{';
					map.forEach(function (value,key,map) { 
						if (testids != '{') {
							testids += ",";
						}
						$.ajax({
							url : "/smarttest-frontstage/autog7/getDetailIds.action",
							data : {sumid : value},
							method : 'POST',
							error:function(response,error){
								dialog('error','error'+response.status,3000);
								}, 
							success : function(data) {
								var detailids = data.data;
								 testids += "\""+value+"\":\"" + detailids + "\"";
							}
						});
					});
					testids += '}';
					var name = "";
					if (document.getElementById("releasename_section").style.display != 'none') {
						name = $("#releasename").val();
					}
					//创建版本
					$.ajax({
						url : "/smarttest-frontstage/autog7/createRelease.action",
						data : {envid : parseInt($("#index_usefor").val()),name : name, testids : testids},
						method : 'POST',
						error:function(response,error){
							dialog('error','error'+response.status,3000);
							}, 
						success : function(data) {
							$('#releaseModal').modal('hide');
							if (data.data > 0) {
								runSumTests(data.data);
							}
						}
					});
				}
			}
			
		});
		
		$("#submittimertask").click(function () {
			var form = $("#timertaskdetail").data('bootstrapValidator');
			form.validate();
			if (form.isValid() == false) {
				return;
			}
			else {
				var selects = $("#dt_basic").find('tr[role="row"]').find('td:first input:checked');
				var map = new Map();
				for (var i = 0; i < selects.length; i++) {
					var tr = selects.eq(i).parent().parent();
					map.set(tr,selects.eq(i).attr('sumid'));
				}
				var testids = '{';
				var jobdetails = "";
				map.forEach(function (value,key,map) { 
					 var inername = key.children("td:nth-child(3)").text();
					 var env = key.children("td:nth-child(7)").text();
					if (testids != '{') {
						testids += ",";
					}
					if ( key.next('tr.tr-expandable').length == 0) {
						$.ajax({
							url : "/smarttest-frontstage/autog7/getDetailIds.action",
							data : {sumid : value},
							method : 'POST',
							async:false,
							error:function(response,error){
								dialog('error','error'+response.status,3000);
								}, 
							success : function(data) {
								var detailids = data.data;
								 testids += "\""+value+"\":\"" + detailids + "\"";
							}
						});
						jobdetails += inername+":全部场景;";
					}
					else {
						testids += "\""+value+"\":\"";
						 var details = key.next('tr.tr-expandable').find("table.testdata_table > tbody > tr").find('td:first > input:checked').closest("tr");
						 var detailids = '';
						 var tmp = "";
						 details.each(function(){
							 if (detailids != '') {
								 detailids += ",";
							 }
							 
							 if (tmp != '') {
								 tmp += ",";
							 }
							 tmp += $(this).index()+1;
							 detailids += $(this).attr('detailid');
						 });
						 testids += detailids + "\"";
						jobdetails += inername+":场景"+tmp+";";
					}								
				});			
				testids += '}';
				var describing = $("#taskdetail").val();
				var exctype = $("#runtype").find("option:selected").val();
				var runtime = $("#tasktime").val();
				if ($("#timer_releasetype").val() == 1) {
					$.ajax({
						url : "/smarttest-frontstage/autog7/addTimerTask.action",
						data : {envid:parseInt($("#index_usefor").val()), releaseid:0,describing : describing, testids : testids, jobdetails : jobdetails, exctype : exctype, runtime : runtime},
						method : 'POST',
						error:function(response,error){
							dialog('error','error'+response.status,3000);
							}, 
						success : function(data) {
							if (data.data > 0) {
								dialog('succ',"创建成功",3000);
							}
						}
					});	
				}
				else if ($("#timer_releasetype").val() == 0) {
					$.ajax({
						url : "/smarttest-frontstage/autog7/createRelease.action",
						data : {envid : parseInt($("#index_usefor").val()),name : $("#timer_releasename").val(), testids : testids},
						method : 'POST',
						error:function(response,error){
							dialog('error','error'+response.status,3000);
							}, 
						success : function(data) {
							if (data.data > 0) {
								$.ajax({
									url : "/smarttest-frontstage/autog7/addTimerTask.action",
									data : {envid:parseInt($("#index_usefor").val()), releaseid:data.data,describing : describing, testids : testids, jobdetails : jobdetails, exctype : exctype, runtime : runtime},
									method : 'POST',
									error:function(response,error){
										dialog('error','error'+response.status,3000);
										}, 
									success : function(data) {
										if (data.data > 0) {
											dialog('succ',"创建成功",3000);
										}
									}
								});	
							}
						}
					});
				}			
				$('#timertaskModal').modal('hide');
			}		
		});
		LoadModuleByEnv($("#index_usefor").get(0));
		selectAll();
		selectAllSums();
		selectCurrentSum();
		del_case_summ = [];
		del_case_detail = [];
	});
		$(document).ready(function() {
			$("#timertaskdetail").bootstrapValidator({
			message : 'This value is not valid',
			feedbackIcons : {
				valid : 'glyphicon glyphicon-ok',
				invalid : 'glyphicon glyphicon-remove',
				validating : 'glyphicon glyphicon-refresh'
			},
			fields : {
				taskdetail : {
					message : '请输入描述',
					validators : {
						notEmpty : {
							message : '不能为空'
						},
					}
				},
				tasktime : {
					message : '请输入时间',
					validators : {
						notEmpty : {
							message : '不能为空'
						},
/* 						date: {
	                        format: 'HH:mm:ss',
	                        message: '时间格式不正确'
	                    } */
					}
				},
			}
			});
			$("#releasedetail").bootstrapValidator({
				message : 'This value is not valid',
				feedbackIcons : {
					valid : 'glyphicon glyphicon-ok',
					invalid : 'glyphicon glyphicon-remove',
					validating : 'glyphicon glyphicon-refresh'
				},
				fields : {
					releasename : {
						message : '请输入版本',
						validators : {
							notEmpty : {
								message : '不能为空'
							},
						}
					},
				}
			});
			convertDataTable();
		});
	</script>
	<script src="js/common.js"></script>
	<script src="js/bootstrap/bootstrap-select.js"></script>
	<script type="text/javascript" src="js/plugin/iresizer/iframeResizer.contentWindow.min.js"></script> 
	<script src="js/bootstrap/bootstrap-table-expandable.js"></script>
  <!-- <script src="http://cdn.gbtags.com/datatables/1.10.5/js/jquery.dataTables.min.js"></script>  -->
  <script src="js/jquery.dataTables.min.js"></script> 
  <script type="text/javascript" language="javascript" src="js/dataTables.bootstrap.js"></script> 
  <script src="js/autog7.js"></script>
  <script src="js/timeformat.js"></script>
  <script src="js/jquery.cookie.js"></script>
  
</body>

</html>
